<!--
 * @Author: MoWanPing
 * @Date: 2024-01-18 12:50:52
 * @LastEditTime: 2024-03-01 16:17:44
 * @LastEditors: MoWanPing
 * @Description: 
 * @FilePath: \jnks_low_air_front_gov_online\src\views\index.vue
-->
<template>
  <div class="welcome">
    <div class="container">
      <div class="text-header">WELCOME</div>
      <div class="text-footer">欢迎使用新疆无人机在线管理系统！</div>
    </div>
  </div>
</template>

<script setup name="Index">
import { onMounted } from "vue";
import useCockpitStore from "@/store/modules/cockpit";

const cockpitStore = useCockpitStore();

onMounted(() => {
  // cockpitStore.getAirportWeatherFun();
});
</script>

<style scoped lang="scss">
.welcome {
  width: 100%;
  height: 100%;

  .container {
    position: relative;
    width: calc(100% - 40px);
    height: 92%;
    margin: 0 20px 20px;
    border-radius: 10px;
    background: url("@/assets/images/welcome.png");
    background-size: 100% 100%;

    display: flex;
    justify-content: center;
  }

  .text-header {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 20px;
    // margin: 107px 0 48px 0;
    width: 504px;
    height: 60px;
    font-size: 80px;
    font-family: Arial;
    font-weight: 400;
    color: #2bc17b;
    line-height: 42px;
  }
  .text-footer {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    //width: 371px;
    height: 28px;
    font-size: 30px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #2bc17b;
    line-height: 42px;
    display: flex;
    justify-content: center;
  }
}
</style>
